package org.speed.mvc.controller;

import org.speed.mvc.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IndexController {
	
	@Autowired
	private UserService userService;

	@RequestMapping("/index/test")
	public String test() {
		System.out.println("test");
		
		userService.exc();
		
		return "test";
	}
	
}
